//常量
export default {
  layout: {
    wHeight: '100vh',
    mHeight: 920 / 3,
    aHeight: 250
  },

  pm10QxParam: {
    size: 20
  },

  // 扬尘设备列表
  ycsblbOption: {
    size: 'small',
    showColumnPicker: false,
    showPager: false,
    jsxdata: {
      data: [],
    },
    jsxcolumns: [
      {dataKey: 'ecode', title: '设备编码', width: 90},
      {dataKey: 'pmTwo', title: 'PM2.5(μg/m³)', width: 95},
      {dataKey: 'pmTen', title: 'PM10(μg/m³)', width: 95},
      {dataKey: 'tsp', title: '噪音(dB)', width: 80},
      {dataKey: 'temperature', title: '温度(℃)', width: 80},
      {dataKey: 'humidity', title: '湿度(%)', width: 80},
      {dataKey: 'windSpeed', title: '风速(M/S)', width: 95},
      {dataKey: 'windDeriction', title: '风向', width: 65},
      {dataKey: 'atmosphere', title: '气压(Pa)', width: 90},
      {dataKey: 'saveTime', title: '数据采集时间', width: 180}
    ]
  },

  // 扬尘设备PM曲线图
  ycsbpmOption: {
    tooltip : {
      trigger: 'axis'
    },
    legend: {
      data:[]
    },
    toolbox: {
      show : true,
      feature : {
        mark : {show: true},
        dataView : {show: true, readOnly: false},
        magicType : {show: true, type: ['line', 'bar', 'stack', 'tiled']},
        restore : {show: true},
        saveAsImage : {show: true}
      }
    },
    calculable : true,
    xAxis : [
      {
        type : 'category',
        boundaryGap : false,
        data : []
      }
    ],
    yAxis : [
      {
        type : 'value'
      }
    ],
    series : []
  }
}
